package com.deyuanyun.pic.insp.mapper;

import com.deyuanyun.pic.insp.domain.InspGww;
import com.github.pagehelper.Page;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

public interface InspDefectCrossMapper {
	int deleteByPrimaryKey(String id);

    int insert(InspGww record);

    int insertSelective(InspGww record);

    InspGww selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(InspGww record);

    int updateByPrimaryKey(InspGww record);
    
    Page<HashMap<String,Object>> getMain(HashMap<String, Object> map);
    
    public  Page<LinkedHashMap<String,Object>> findPage(HashMap<String, Object> map);

    Page<HashMap<String,Object>> getStatistics(HashMap<String, Object> map);

    public List<LinkedHashMap<String,Object>> queryExport(HashMap<String, Object> map);
}
